using UnityEngine;
using System.Collections;

public class MyDebug : MonoBehaviour {

	// Use this for initialization
	void Start () {
		foreach (Component com in transform.GetComponentsInChildren<Component>()){
			if (com is ParticleSystem){
				//((ParticleSystem)com).startSize *=
				Debug.Log(com.ToString());
			}
		}
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
